{include file="common/header.tpl"}    
    <div id="vfriendContainer">
        <div id="mainContent2L">
            <div class="vfriendContainer2L">
                <div class="vfriendContent2L">
                	<div class="leftCol">  
                    	{include file="account/navigation.tpl"}                 	
                    </div>
                    <div class="rightCol noBg">
                    	<div class="boxNotification">
                        	<div class="headerTitle"><h3>Thiết lập nhận thông tin các hoạt động tại {$smarty.const.DOMAIN_NAME}</h3></div>
                            <div class="notificationItem"> 
                            	<form method="post" name="frmNotication" id="frmNotication" enctype="multipart/form-data" action="">                           	
                                    <div class="notificationItems">
                                        <table cellpadding="0" cellspacing="0" border="0" width="100%">
                                            <thead>
                                                <tr>
                                                    <th><h4 class="snBlog">Nhật ký</h4></th>
                                                    {if $smarty.const.FUNCTION_NOTIFICAITON_DASHBOARD}
                                                    	<th align="center" width="120"><span class="snDashboard">Dashboard</span></th>
                                                    {/if}
                                                    <th align="center" width="120"><span class="snNotification">Thông báo</span></th>
                                                    <th align="center" width="80"><span class="snEmail">Email</span></th>
                                                </tr>
                                            </thead>
                                            <tbody>
                                                <tr>
                                                    <td>Bạn viết nhật ký mới</td>
                                                    {if $smarty.const.FUNCTION_NOTIFICAITON_DASHBOARD}
                                                        <td align="center" width="120">
                                                            <label for="bDashboard1">
                                                                <input type="checkbox" name="pbdaskboard[]" id="bDashboard1" value="{pow x=2 y=0}" {if isset($row)&&($row.bdaskboard&1)>0}checked="checked"{/if}/>
                                                            </label>
                                                        </td>
                                                    {/if}
                                                    <td align="center" width="120">
                                                        <label for="bnotification1">
                                                            <input type="checkbox" name="pbnotification[]" id="bnotification1" value="{pow x=2 y=0}" {if isset($row)&&($row.bnotification&1)>0}checked="checked"{/if}/>
                                                        </label>
                                                    </td>
                                                    <td align="center" width="80">
                                                        <label for="bemail1">
                                                            <input type="checkbox" name="pbemail[]" id="bemail1" value="{pow x=2 y=0}" {if isset($row)&&($row.bemail&1)>0}checked="checked"{/if}/>
                                                        </label>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>Có bình luận mới tại nhật ký tôi tham gia</td>
                                                    {if $smarty.const.FUNCTION_NOTIFICAITON_DASHBOARD}
                                                        <td align="center" width="120">
                                                            <label for="bDashboard2">
                                                                <input type="checkbox" name="pbdaskboard[]" id="bDashboard2" value="{pow x=2 y=1}" {if isset($row)&&($row.bdaskboard&2)>0}checked="checked"{/if}/>
                                                            </label>
                                                        </td>
                                                    {/if}
                                                    <td align="center" width="120">
                                                        <label for="bnotification2">
                                                            <input type="checkbox" name="pbnotification[]" id="bnotification2" value="{pow x=2 y=1}" {if isset($row)&&($row.bnotification&2)>0}checked="checked"{/if}/>
                                                        </label>
                                                    </td>
                                                    <td align="center" width="80">
                                                        <label for="bemail2">
                                                            <input type="checkbox" name="pbemail[]" id="bemail2" value="{pow x=2 y=1}" {if isset($row)&&($row.bemail&2)>0}checked="checked"{/if}/>
                                                        </label>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>Có thành viên thích nhật ký của tôi</td>
                                                    {if $smarty.const.FUNCTION_NOTIFICAITON_DASHBOARD}
                                                        <td align="center" width="120">
                                                            <label for="bDashboard3">
                                                                <input type="checkbox" name="pbdaskboard[]" id="bDashboard3" value="{pow x=2 y=2}" {if isset($row)&&($row.bdaskboard&4)>0}checked="checked"{/if}/>
                                                            </label>
                                                        </td>
                                                    {/if}
                                                    <td align="center" width="120">
                                                        <label for="bnotification3">
                                                            <input type="checkbox" name="pbnotification[]" id="bnotification3" value="{pow x=2 y=2}" {if isset($row)&&($row.bnotification&4)>0}checked="checked"{/if}/>
                                                        </label>
                                                    </td>
                                                    <td align="center" width="80">
                                                        <input type="checkbox" disabled="disabled"/>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>Có thành viên thích bình luận nhật ký của tôi</td>
                                                    {if $smarty.const.FUNCTION_NOTIFICAITON_DASHBOARD}
                                                        <td align="center" width="120">
                                                            <label for="bDashboard4">
                                                                <input type="checkbox" name="pbdaskboard[]" id="bDashboard4" value="{pow x=2 y=3}" {if isset($row)&&($row.bdaskboard&8)>0}checked="checked"{/if}/>
                                                            </label>
                                                        </td>
                                                    {/if}
                                                    <td align="center" width="120">
                                                        <label for="bnotification4">
                                                            <input type="checkbox" name="pbnotification[]" id="bnotification4" value="{pow x=2 y=3}" {if isset($row)&&($row.bnotification&8)>0}checked="checked"{/if}/>
                                                        </label>
                                                    </td>
                                                    <td align="center" width="80">
                                                        <input type="checkbox" disabled="disabled"/>
                                                    </td>
                                                </tr>
                                            </tbody>
                                        </table>
                                    </div>
                                    <div class="notificationItems">
                                        <table cellpadding="0" cellspacing="0" border="0" width="100%">
                                            <thead>
                                                <tr>
                                                    <th><h4 class="snImage">Hình ảnh</h4></th>
                                                    {if $smarty.const.FUNCTION_NOTIFICAITON_DASHBOARD}
                                                    	<th align="center" width="120"><span class="snDashboard">Dashboard</span></th>
                                                    {/if}
                                                    <th align="center" width="120"><span class="snNotification">Thông báo</span></th>
                                                    <th align="center" width="80"><span class="snEmail">Email</span></th>
                                                </tr>
                                            </thead>
                                            <tbody>
                                                <tr>
                                                    <td>Bạn đăng ảnh mới</td>
                                                   	{if $smarty.const.FUNCTION_NOTIFICAITON_DASHBOARD}
                                                    	<td align="center" width="120">
                                                            <label for="iDashboard1">
                                                                <input type="checkbox" name="pidaskboard[]" id="iDashboard1" value="{pow x=2 y=0}" {if isset($row)&&($row.idaskboard&1)>0}checked="checked"{/if}/>
                                                            </label>
                                                        </td>
                                                    {/if}
                                                  	<td align="center" width="120">
                                                        <label for="inotification1">
                                                            <input type="checkbox" name="pinotification[]" id="inotification1" value="{pow x=2 y=0}" {if isset($row)&&($row.inotification&1)>0}checked="checked"{/if}/>
                                                        </label>
                                                    </td>
                                                    <td align="center" width="80">
                                                        <label for="iemail1">
                                                            <input type="checkbox" name="piemail[]" id="iemail1" value="{pow x=2 y=0}" {if isset($row)&&($row.iemail&1)>0}checked="checked"{/if}/>
                                                        </label>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>Có bình luận mới tại hình ảnh tôi tham gia</td>
                                                    {if $smarty.const.FUNCTION_NOTIFICAITON_DASHBOARD}
                                                        <td align="center" width="120">
                                                            <label for="iDashboard2">
                                                                <input type="checkbox" name="pidaskboard[]" id="iDashboard2" value="{pow x=2 y=1}" {if isset($row)&&($row.idaskboard&2)>0}checked="checked"{/if}/>
                                                            </label>
                                                        </td>
                                                    {/if}
                                                    <td align="center" width="120">
                                                        <label for="inotification2">
                                                            <input type="checkbox" name="pinotification[]" id="inotification2" value="{pow x=2 y=1}" {if isset($row)&&($row.inotification&2)>0}checked="checked"{/if}/>
                                                        </label>
                                                    </td>
                                                    <td align="center" width="80">
                                                        <label for="iemail2">
                                                            <input type="checkbox" name="piemail[]" id="iemail2" value="{pow x=2 y=1}" {if isset($row)&&($row.iemail&2)>0}checked="checked"{/if}/>
                                                        </label>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>Có thành viên thích hình ảnh của tôi</td>
                                                    {if $smarty.const.FUNCTION_NOTIFICAITON_DASHBOARD}
                                                        <td align="center" width="120">
                                                            <label for="iDashboard3">
                                                                <input type="checkbox" name="pidaskboard[]" id="iDashboard3" value="{pow x=2 y=2}" {if isset($row)&&($row.idaskboard&4)>0}checked="checked"{/if}/>
                                                            </label>
                                                        </td>
                                                    {/if}
                                                    <td align="center" width="120">
                                                        <label for="inotification3">
                                                            <input type="checkbox" name="pinotification[]" id="inotification3" value="{pow x=2 y=2}" {if isset($row)&&($row.inotification&4)>0}checked="checked"{/if}/>
                                                        </label>
                                                    </td>
                                                    <td align="center" width="80">
                                                        <input type="checkbox" disabled="disabled"/>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>Có thành viên tag tôi vào hình</td>
                                                    {if $smarty.const.FUNCTION_NOTIFICAITON_DASHBOARD}
                                                        <td align="center" width="120">
                                                            <label for="iDashboard4">
                                                                <input type="checkbox" name="pidaskboard[]" id="iDashboard4" value="{pow x=2 y=3}" {if isset($row)&&($row.idaskboard&8)>0}checked="checked"{/if}/>
                                                            </label>
                                                        </td>
                                                    {/if}
                                                    <td align="center" width="120">
                                                        <label for="inotification4">
                                                            <input type="checkbox" name="pinotification[]" id="inotification4" value="{pow x=2 y=3}" {if isset($row)&&($row.inotification&8)>0}checked="checked"{/if}/>
                                                        </label>
                                                    </td>
                                                    <td align="center" width="80">
                                                        <label for="iemail3">
                                                            <input type="checkbox" name="piemail[]" id="iemail3" value="{pow x=2 y=2}" {if isset($row)&&($row.iemail&4)>0}checked="checked"{/if}/>
                                                        </label>
                                                    </td>
                                                </tr>
                                            </tbody>
                                        </table>
                                    </div>
                                    <div class="notificationItems">
                                        <table cellpadding="0" cellspacing="0" border="0" width="100%">
                                            <thead>
                                                <tr>
                                                    <th><h4 class="snFullhouse">Full-house</h4></th>
                                                    {if $smarty.const.FUNCTION_NOTIFICAITON_DASHBOARD}
                                                    	<th align="center" width="120"><span class="snDashboard">Dashboard</span></th>
                                                    {/if}
                                                    <th align="center" width="120"><span class="snNotification">Thông báo</span></th>
                                                    <th align="center" width="80"><span class="snEmail">Email</span></th>
                                                </tr>
                                            </thead>
                                            <tbody>
                                                <tr>
                                                    <td>Bạn viết tâm sự mới</td>
                                                    {if $smarty.const.FUNCTION_NOTIFICAITON_DASHBOARD}
                                                        <td align="center" width="120">
                                                            <label for="fDashboard1">
                                                                <input type="checkbox" name="pfdaskboard[]" id="fDashboard1" value="{pow x=2 y=0}" {if isset($row)&&($row.fdaskboard&1)>0}checked="checked"{/if}/>
                                                            </label>
                                                        </td>
                                                    {/if}
                                                    <td align="center" width="120">
                                                        <label for="fnotification1">
                                                            <input type="checkbox" name="pfnotification[]" id="fnotification1" value="{pow x=2 y=0}" {if isset($row)&&($row.fnotification&1)>0}checked="checked"{/if}/>
                                                        </label>
                                                    </td>
                                                    <td align="center" width="80">
                                                        <label for="femail1">
                                                            <input type="checkbox" name="pfemail[]" id="femail1" value="{pow x=2 y=0}" {if isset($row)&&($row.femail&1)>0}checked="checked"{/if}/>
                                                        </label>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>Có bình luận mới tại những chỉ mục tâm sự mà tôi có tham gia</td>
                                                    {if $smarty.const.FUNCTION_NOTIFICAITON_DASHBOARD}
                                                        <td align="center" width="120">
                                                            <label for="fDashboard2">
                                                                <input type="checkbox" name="pfdaskboard[]" id="fDashboard2" value="{pow x=2 y=1}" {if isset($row)&&($row.fdaskboard&2)>0}checked="checked"{/if}/>
                                                            </label>
                                                        </td>
                                                    {/if}
                                                    <td align="center" width="120">
                                                        <label for="fnotification2">
                                                            <input type="checkbox" name="pfnotification[]" id="fnotification2" value="{pow x=2 y=1}" {if isset($row)&&($row.fnotification&2)>0}checked="checked"{/if}/>
                                                        </label>
                                                    </td>
                                                    <td align="center" width="80">
                                                        <label for="femail2">
                                                            <input type="checkbox" name="pfemail[]" id="femail2" value="{pow x=2 y=1}" {if isset($row)&&($row.femail&2)>0}checked="checked"{/if}/>
                                                        </label>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>Có thành viên thích tâm sự của tôi</td>
                                                    {if $smarty.const.FUNCTION_NOTIFICAITON_DASHBOARD}
                                                        <td align="center" width="120">
                                                            <label for="fDashboard3">
                                                                <input type="checkbox" disabled="disabled" {*name="pfdaskboard[]" id="fDashboard3" value="{pow x=2 y=2}" {if isset($row)&&($row.fdaskboard&4)>0}checked="checked"{/if}*}/>
                                                            </label>
                                                        </td>
                                                    {/if}
                                                    <td align="center" width="120">
                                                        <label for="fnotification3">
                                                            <input type="checkbox" name="pfnotification[]" id="fnotification3" value="{pow x=2 y=2}" {if isset($row)&&($row.fnotification&4)>0}checked="checked"{/if}/>
                                                        </label>
                                                    </td>
                                                    <td align="center" width="80">
                                                        <input type="checkbox" disabled="disabled"/>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>Có thành viên thích bình luận của tôi tại các chỉ mục tâm sự</td>
                                                    {if $smarty.const.FUNCTION_NOTIFICAITON_DASHBOARD}
                                                        <td align="center" width="120">
                                                            <label for="fDashboard4">
                                                                <input type="checkbox" name="pfdaskboard[]" id="fDashboard4" value="{pow x=2 y=3}" {if isset($row)&&($row.fdaskboard&8)>0}checked="checked"{/if}/>
                                                            </label>
                                                        </td>
                                                    {/if}
                                                    <td align="center" width="120">
                                                        <label for="fnotification4">
                                                            <input type="checkbox" name="pfnotification[]" id="fnotification4" value="{pow x=2 y=3}" {if isset($row)&&($row.fnotification&8)>0}checked="checked"{/if}/>
                                                        </label>
                                                    </td>
                                                    <td align="center" width="80">
                                                        <input type="checkbox" disabled="disabled"/>
                                                    </td>
                                                </tr>
                                            </tbody>
                                        </table>
                                    </div>
                                    {if $smarty.const.FUNCTION_OFFLINE}
                                    	<div class="notificationItems">
                                        <table cellpadding="0" cellspacing="0" border="0" width="100%">
                                            <thead>
                                                <tr>
                                                    <th><h4 class="snOffline">Offline</h4></th>
                                                    {if $smarty.const.FUNCTION_NOTIFICAITON_DASHBOARD}
                                                    	<th align="center" width="120"><span class="snDashboard">Dashboard</span></th>
                                                    {/if}
                                                    <th align="center" width="120"><span class="snNotification">Thông báo</span></th>
                                                    <th align="center" width="80"><span class="snEmail">Email</span></th>
                                                </tr>
                                            </thead>
                                            <tbody>
                                                <tr>
                                                    <td>Bạn tạo offline mới</td>
                                                    {if $smarty.const.FUNCTION_NOTIFICAITON_DASHBOARD}
                                                        <td align="center" width="120">
                                                            <label for="odashboard1">
                                                                <input type="checkbox" name="podaskboard[]" id="odashboard1" value="{pow x=2 y=0}" {if isset($row)&&($row.odaskboard&1)>0}checked="checked"{/if}/>
                                                            </label>
                                                        </td>
                                                    {/if}
                                                    <td align="center" width="120">
                                                        <label for="onotification1">
                                                            <input type="checkbox" name="ponotification[]" id="onotification1" value="{pow x=2 y=0}" {if isset($row)&&($row.onotification&1)>0}checked="checked"{/if}/>
                                                        </label>
                                                    </td>
                                                    <td align="center" width="80">
                                                        <label for="oemail1">
                                                            <input type="checkbox" name="poemail[]" id="oemail1" value="{pow x=2 y=0}" {if isset($row)&&($row.oemail&1)>0}checked="checked"{/if}/>
                                                        </label>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>Có bình luận mới tại offline tôi tham gia</td>
                                                    {if $smarty.const.FUNCTION_NOTIFICAITON_DASHBOARD}
                                                        <td align="center" width="120">
                                                            <label for="odashboard2">
                                                                <input type="checkbox" name="podaskboard[]" id="odashboard2" value="{pow x=2 y=1}" {if isset($row)&&($row.odaskboard&2)>0}checked="checked"{/if}/>
                                                            </label>
                                                        </td>
                                                    {/if}
                                                    <td align="center" width="120">
                                                        <label for="onotification2">
                                                            <input type="checkbox" name="ponotification[]" id="onotification2" value="{pow x=2 y=1}" {if isset($row)&&($row.onotification&2)>0}checked="checked"{/if}/>
                                                        </label>
                                                    </td>
                                                    <td align="center" width="80">
                                                        <label for="oemail2">
                                                            <input type="checkbox" name="poemail[]" id="oemail2" value="{pow x=2 y=1}" {if isset($row)&&($row.oemail&2)>0}checked="checked"{/if}/>
                                                        </label>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>Có thành viên đăng ký tham gia offline</td>
                                                    {if $smarty.const.FUNCTION_NOTIFICAITON_DASHBOARD}
                                                        <td align="center" width="120">
                                                            <input type="checkbox" disabled="disabled"/>
                                                        </td>
                                                    {/if}
                                                    <td align="center" width="120">
                                                        <label for="onotification3">
                                                            <input type="checkbox" name="ponotification[]" id="onotification3" value="{pow x=2 y=2}" {if isset($row)&&($row.onotification&4)>0}checked="checked"{/if}/>
                                                        </label>
                                                    </td>
                                                    <td align="center" width="80">
                                                        <label for="oemail3">
                                                            <input type="checkbox" name="poemail[]" id="oemail3" value="{pow x=2 y=2}" {if isset($row)&&($row.oemail&4)>0}checked="checked"{/if}/>
                                                        </label>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>Có thành viên mời tham gia offline</td>
                                                    {if $smarty.const.FUNCTION_NOTIFICAITON_DASHBOARD}
                                                        <td align="center" width="120">
                                                            <input type="checkbox" disabled="disabled"/>
                                                        </td>
                                                    {/if}
                                                    <td align="center" width="120">
                                                        <label for="onotification4">
                                                            <input type="checkbox" name="ponotification[]" id="onotification4" value="{pow x=2 y=3}" {if isset($row)&&($row.onotification&8)>0}checked="checked"{/if}/>
                                                        </label>
                                                    </td>
                                                    <td align="center" width="80">
                                                        <label for="oemail4">
                                                            <input type="checkbox" name="poemail[]" id="oemail4" value="{pow x=2 y=3}" {if isset($row)&&($row.oemail&8)>0}checked="checked"{/if}/>
                                                        </label>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>Có thành viên đồng ý/từ chối tham gia offline</td>
                                                    {if $smarty.const.FUNCTION_NOTIFICAITON_DASHBOARD}
                                                        <td align="center" width="120">
                                                            <input type="checkbox" disabled="disabled"/>
                                                        </td>
                                                    {/if}
                                                    <td align="center" width="120">
                                                        <label for="onotification5">
                                                            <input type="checkbox" name="ponotification[]" id="onotification5" value="{pow x=2 y=4}" {if isset($row)&&($row.onotification&16)>0}checked="checked"{/if}/>
                                                        </label>
                                                    </td>
                                                    <td align="center" width="80">
                                                        <label for="oemail5">
                                                            <input type="checkbox" name="poemail[]" id="oemail5" value="{pow x=2 y=4}" {if isset($row)&&($row.oemail&16)>0}checked="checked"{/if}/>
                                                        </label>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>Tôi được duyệt tham gia offline</td>
                                                    {if $smarty.const.FUNCTION_NOTIFICAITON_DASHBOARD}
                                                        <td align="center" width="120">
                                                            <input type="checkbox" disabled="disabled"/>
                                                        </td>
                                                    {/if}
                                                    <td align="center" width="120">
                                                        <label for="onotification6">
                                                            <input type="checkbox" name="ponotification[]" id="onotification6" value="{pow x=2 y=5}" {if isset($row)&&($row.onotification&32)>0}checked="checked"{/if}/>
                                                        </label>
                                                    </td>
                                                    <td align="center" width="80">
                                                        <label for="oemail6">
                                                            <input type="checkbox" name="poemail[]" id="oemail6" value="{pow x=2 y=5}" {if isset($row)&&($row.oemail&32)>0}checked="checked"{/if}/>
                                                        </label>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>Offline tôi tham gia bị hủy</td>
                                                    {if $smarty.const.FUNCTION_NOTIFICAITON_DASHBOARD}
                                                        <td align="center" width="120">
                                                            <input type="checkbox" disabled="disabled"/>
                                                        </td>
                                                    {/if}
                                                    <td align="center" width="120">
                                                        <label for="onotification7">
                                                            <input type="checkbox" name="ponotification[]" id="onotification7" value="{pow x=2 y=6}" {if isset($row)&&($row.onotification&64)>0}checked="checked"{/if}/>
                                                        </label>
                                                    </td>
                                                    <td align="center" width="80">
                                                        <label for="oemail7">
                                                            <input type="checkbox" name="poemail[]" id="oemail7" value="{pow x=2 y=6}" {if isset($row)&&($row.oemail&64)>0}checked="checked"{/if}/>
                                                        </label>
                                                    </td>
                                                </tr>
                                            </tbody>
                                        </table>
                                    </div>
                                    {/if}
                            	</form>
                            </div>
                        </div>
                    </div>
               	</div>
            </div>
        </div>
    </div>
{include file="common/footer.tpl"}